package com.dhecp.project.system.mapper;

import com.dhecp.core.genericDao.GenericDao;
import com.dhecp.project.system.domain.SysVersionItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @InterfaceName SysVersionItemMapper
 * @Description TODO
 * @Author alula
 * @Date 2020-03-12 10:20
 */
public interface SysVersionItemMapper extends GenericDao<SysVersionItem, String> {

    List<SysVersionItem> findVersionItemList(Map<String, Object> params);

    SysVersionItem findVersionItemById(@Param("guid") String guid);

    int deleteVersionItemByGuid(@Param("guid") String guid);

    int deleteVersionItemByVersionId(@Param("versionId") String versionId);
}
